<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="description" content="">
  <meta name="author" content="ThemeBucket">
  <title>贷款审查处理</title>
  <link rel="stylesheet" href="../UI/css/checkboxAndRedio/css/build.css">
  <script>
		var webPath = "..";
  </script>
  <script src="../UI/common/loadCommonCss.js"></script>
 <style>
 	.propertyName{font-weight:bold;width:50px}
 </style>
</head>

<body>
	<div class="page-main">
		<div class="row page-heading" >
			<div class="row page-heading-inner" >
				<div class="col-xs-6 " id="nav_header" style="margin-left:10px;">
					<ol class="list-inline" id="navContent">
						<li><a href="javascript:void(0);"onclick="window.parent.backMain(); ">主页</a></li> <span>/</span>
						<li><a id="parentNavName">###</a></li><span>/</span>
						<li><a id="thisNavName">###</a></li>
					</ol>
				</div>
			</div>
		</div>
		
        <div class="row page-body" >
        	<div class="col-sm-12">
        		<div class="panel-heading">
				   <strong style="line-height:30px;">贷款申请详情</strong> 
		           <div class="panel-heading-button pull-right">
		           <button type="button" class="btn" id="addBtn" onclick="javascript:history.back();" title="返回"><i class="glyphicon glyphicon-share-alt" ></i></button>
                    </div>
			 	</div>
        		<hr/>
        	</div>
        	<div class="row"  style="margin-left:25px;margin-right:20px;height:600px;width:100%;overflow:auto">
				<div class="page" style="overflow:auto" >
				<table class="table table-bordered noneSelect"  style=" margin:0 auto;position:relative;word-break: keep-all !important;width:100%;">
					<tbody>
								<tr>
									<td class="propertyName">贷款人姓名:</td>
									<td ><span id="borrowerName"></span></td>
									<td class="propertyName">性别：</td>
									<td><span id="sex"></span></td>
								</tr>
								
								<tr>
									<td class="propertyName">证件号码:</td>
								    <td ><span id="credentialNo"></span></td>
								   	<td class="propertyName">是否已婚:</td>
								    <td ><span id="isMaryed"></span></td>
								</tr>
								<tr id="spouseInfo" hidden>
									<td class="propertyName">配偶姓名:</td>
								    <td ><span id="spouseName"></span></td>
								   	<td class="propertyName">配偶证件号码:</td>
								    <td ><span id="spouseCredentialNo"></span></td>
								</tr>
								<tr>
									<td class="propertyName">业务类型：</td>
									<td><span id="businessTypes"></span></td>
								</tr>
								<tr>
									<td class="propertyName" id="remark1Td">备注：</td>
									<td id="remark1Val"><span id="remark1"></span></td>
									<td class="propertyName" id="remark2Td">备注2：</td>
									<td id="remark2Val"><span id="remark2"></span></td>
								</tr>
								
								<tr id="areaAndAmount" hidden>
									<td class="propertyName">购房面积：</td>
									<td><span id="area"><input check=""  name="area" id="addArea" maxlength="13" /></span></td>
									<td class="propertyName">购房总价：</td>
									<td><span id="houseAmount"><input check=""  name="houseAmount" id="addHouseAmount" maxlength="30" /></span></td>
								</tr>
								<tr id="numAndIncome" hidden>
									<td id="houseNumNameTd" class="propertyName">第几套房：</td>
									<td id="houseNumValueTd" ><span id="houseNum"><select  id="addHouseNum" name="houseNum" >
			                                                <option class="opt" value="0">--请选择--</option>
															<option class="opt" value="1">一套</option>
															<option class="opt" value="2">二套</option>
															<option class="opt" value="3">三套</option>
															<option class="opt" value="4">三套以上</option>
															
										 	</select></span></td>
									<td class="propertyName">家庭月收入：</td>
									<td><span id="income"><input check=""  name="income" id="addIncome" maxlength="30" /></span></td>
								</tr>
								<tr id="payPerMon" hidden>
									<td class="propertyName">月还款额：</td>
									<td><span id="payPerMonth"><input check=""  name="payPerMonth" id="addPayPerMonth" maxlength="13" /></span></td>
								</tr>
							
								<tr>
								    <td class="propertyName">申贷金额（万元）:</td>
								    <td ><span id="amount"></span></td>
								    <td class="propertyName">申贷期限（月）:</td>
								    <td ><span id="term"></span></td>
								</tr>
								<tr>
								    <td class="propertyName">担保方式:</td>
								    <td ><span id="guaranteeMethod"></span></td>
								    <td class="propertyName">是否续贷:</td>
								    <td ><span id="isRenew"></span></td>
								</tr>
								<tr>
									<td class="propertyName">还款方式:</td>
								    <td ><span id="repaymentMethod"></span></td>
								    <td class="propertyName">收件时间:</td>
								    <td ><span id="recieveTime"></span></td>
								</tr>
								<tr>
								    <td class="propertyName">营销人姓名:</td>
								    <td ><span id="marketer"></span></td>
								    <td class="propertyName">营销人岗位:</td>
								    <td ><span id="marketerPost"></span></td>
								</tr>
								<tr>
								    <td class="propertyName">经办人姓名:</td>
								    <td ><span id="operator"></span></td>
								    <td class="propertyName">经办人岗位:</td>
								    <td ><span id="operatorPost"></span></td>
								</tr>
								
							</tbody>
				</table>
				</div>
			</div>
			<hr/>
			<div class="text-center" style="padding-top:10px;">
			          <button type="button" class="btn btn-danger btn-sm" onclick="showRefuseModel()">&nbsp;退件</button>
			          <button type="button" class="btn btn-info btn-sm" onclick="showResubmitModel()">&nbsp;补件</button>
			          <button type="button" class="btn btn-success btn-sm" onclick="showReviewModel()">&nbsp;同意</button>
			     </div>
        	<!--  <div class="wrapper wrapper-content" style="padding:0px;background-color: white;">
					<div>
						<h4 style="margin-left:40px">贷款申请详情</h4>
						<button type="button" class="btn" id="addBtn" onclick="javascript:history.back();" title="返回" style="float:right;margin-right:20px;margin-top:-35px;"><i class="glyphicon glyphicon-share-alt" ></i></button>
					</div>
					<div class="row animated fadeInRight"
						style="background-color: white;margin-left:40px;margin-right:20px;overflow-y:auto;height:400px;">
						<table class="table table-bordered noneSelect"  style=" margin:0 auto;position:relative;word-break: keep-all !important;width:100%;">
							<tbody>
								<tr>
									<td class="propertyName">贷款人姓名:</td>
									<td ><span id="borrowerName"></span></td>
									<td class="propertyName">配偶姓名：</td>
									<td ><span id="spouseName"></span></td>
								</tr>
								
								<tr>
									<td class="propertyName">性别：</td>
									<td><span id="sex"></span></td>
								   <td class="propertyName">证件号码:</td>
								    <td ><span id="credentialNo"></span></td>
								</tr>
								<tr>
									<td class="propertyName">业务类型：</td>
									<td><span id="businessTypes"></span></td>
								</tr>
								<tr>
									<td class="propertyName" id="remark1Td">备注：</td>
									<td id="remark1Val"><span id="remark1"></span></td>
									<td class="propertyName" id="remark2Td">备注2：</td>
									<td id="remark2Val"><span id="remark2"></span></td>
								</tr>
								
								<tr id="areaAndAmount" hidden>
									<td class="propertyName">购房面积：</td>
									<td><span id="area"><input check=""  name="area" id="addArea" maxlength="13" /></span></td>
									<td class="propertyName">购房总价：</td>
									<td><span id="houseAmount"><input check=""  name="houseAmount" id="addHouseAmount" maxlength="30" /></span></td>
								</tr>
								<tr id="numAndIncome" hidden>
									<td class="propertyName">第几套房：</td>
									<td><span id="houseNum"><select  id="addHouseNum" name="houseNum" >
			                                                <option class="opt" value="0">--请选择--</option>
															<option class="opt" value="1">一套</option>
															<option class="opt" value="2">二套</option>
															<option class="opt" value="3">三套</option>
															<option class="opt" value="4">三套以上</option>
															
										 	</select></span></td>
									<td class="propertyName">家庭月收入：</td>
									<td><span id="income"><input check=""  name="income" id="addIncome" maxlength="30" /></span></td>
								</tr>
								<tr id="payPerMon" hidden>
									<td class="propertyName">月还款额：</td>
									<td><span id="payPerMonth"><input check=""  name="payPerMonth" id="addPayPerMonth" maxlength="13" /></span></td>
								</tr>
							
								<tr>
								    <td class="propertyName">申贷金额（万元）:</td>
								    <td ><span id="amount"></span></td>
								    <td class="propertyName">申贷期限（月）:</td>
								    <td ><span id="term"></span></td>
								</tr>
								<tr>
								    <td class="propertyName">担保方式:</td>
								    <td ><span id="guaranteeMethod"></span></td>
								    <td class="propertyName">是否续贷:</td>
								    <td ><span id="isRenew"></span></td>
								</tr>
								<tr>
									<td class="propertyName">还款方式:</td>
								    <td ><span id="repaymentMethod"></span></td>
								    <td class="propertyName">收件时间:</td>
								    <td ><span id="recieveTime"></span></td>
								</tr>
								<tr>
								    <td class="propertyName">营销人姓名:</td>
								    <td ><span id="marketer"></span></td>
								    <td class="propertyName">营销人岗位:</td>
								    <td ><span id="marketerPost"></span></td>
								</tr>
								<tr>
								    <td class="propertyName">经办人姓名:</td>
								    <td ><span id="operator"></span></td>
								    <td class="propertyName">经办人岗位:</td>
								    <td ><span id="operatorPost"></span></td>
								</tr>
								
							</tbody>
						</table>
					</div>
					
					<div class="text-center" style="padding-top:10px;">
			          <button type="button" class="btn btn-danger btn-sm" onclick="showRefuseModel()">&nbsp;退件</button>
			          <button type="button" class="btn btn-info btn-sm" onclick="showResubmitModel()">&nbsp;补件</button>
			          <button type="button" class="btn btn-success btn-sm" onclick="showReviewModel()">&nbsp;同意</button>
			     </div>
					
				</div>-->
        	
   		</div>
  	</div>
  	
  	<div class="modal fade inmodal" id="refuseModal" tabindex="-1" role="dialog" aria-hidden="true"  >
		<div class="modal-dialog" style="width: 750px;">
			<div class="modal-content animated bounceInRight">
			     <div class="modal-header nt-model-head">
			          <h5 id="action"></h5>	                                         
			     </div>
			     <div class="modal-body" style="height:200px;overflow-y:auto;">
		     		<form role="form" id="refuseForm">
     					<div class="row" style="margin-bottom:20px">
							  <div class="form-group">
								  <label class="col-sm-3 control-label text-right" >退件原因<span style="color:red">*</span>：</label>
							   <div class="col-sm-9">
							     <textarea  type="text" class="form-control" style="margin-left:-30px;width:100%;height:50px" id="remove_opinion" placeholder="请输入退件原因！"></textarea>
							   </div>
							  </div>
							</div>
					 </form>
			     </div>
			     <div class="modal-footer text-center" >
			          <button type="button" class="btn btn-white btn-sm" data-dismiss="modal"><i></i>&nbsp;取消</button>
			          <button type="button" class="btn btn-primary btn-sm" id="refuseBtn" onclick="approve('REFUSE')"><i class="fa fa-check"></i>&nbsp;提交</button>
			     </div>
			 </div>
		</div>
	</div>
	
	
	
	<div class="modal fade inmodal" id="resubmitModal" tabindex="-1" role="dialog" aria-hidden="true"  >
		<div class="modal-dialog" style="width: 750px;">
			<div class="modal-content animated bounceInRight">
			     <div class="modal-header nt-model-head">
			          <h5 id="action">请选择需要补件的资料</h5>	                                         
			     </div>
			     <div class="modal-body" style="height:320px;overflow-y:auto;">
		     		<form role="form" id="resubmitForm">
     					
							<div class="col-sm-12" style="padding-top:10px" id="jkrcl">
								<div class="col-sm-12"><label for="name">借款人所需材料</label></div>
									<div class="form-group" >
										<div class="checkbox checkbox-danger">
					                        <input id="jkrcl1" type="checkbox" name="jkr" class="styled" >
					                        <label for="jkrcl1">
					                            	借款人及配偶身份证复印件
					                        </label>
					                    </div>
					                    <div class="checkbox checkbox-danger">
					                        <input id="jkrcl2" type="checkbox" name="jkr" class="styled" >
					                        <label for="jkrcl2">
					                            	借款人及配偶户口簿
					                        </label>
					                    </div>
					                    <div class="checkbox checkbox-danger">
					                        <input id="jkrcl3" type="checkbox" name="jkr" class="styled" >
					                        <label for="jkrcl3">
					                            	个人收入声明或证明资料（银行流水）（收入证明有效期40天内）
					                        </label>
					                    </div>
					                    <div class="checkbox checkbox-danger">
					                        <input id="jkrcl4" type="checkbox" name="jkr" class="styled" >
					                        <label for="jkrcl4">
					                            	购房合同（含备案表）
					                        </label>
					                    </div>
									</div>
							 </div>
							 <div class="col-sm-12" style="padding-top:10px" id="dbrcl">
								<div class="col-sm-12"><label for="name">担保人所需材料</label></div>
									<div class="form-group" >
										
										
										 <div class="checkbox checkbox-danger">
					                        <input id="dbrcl1" type="checkbox"  name="dbr" class="styled"  value="借款人及配偶身份证复印件" >
					                        <label for="dbrcl1">
					                            	借款人及配偶身份证复印件
					                        </label>
					                    </div>
					                    <div class="checkbox checkbox-danger">
					                        <input id="dbrcl2" type="checkbox" name="dbr"  class="styled" value="借款人及配偶户口簿" >
					                        <label for="dbrcl2">
					                            	借款人及配偶户口簿
					                        </label>
					                    </div>
					                    <div class="checkbox checkbox-danger">
					                        <input id="dbrcl3" type="checkbox" name="dbr" class="styled" value="个人收入声明或证明资料（银行流水）（收入证明有效期40天内）">
					                        <label for="dbrcl3">
					                            	个人收入声明或证明资料（银行流水）（收入证明有效期40天内）
					                        </label>
					                    </div>
					                    <div class="checkbox checkbox-danger">
					                        <input id="dbrcl4" type="checkbox" name="dbr" class="styled" value="购房合同（含备案表）">
					                        <label for="dbrcl4">
					                            	购房合同（含备案表）
					                        </label>
					                    </div> 
									</div>
							 </div>
							 <div class="col-sm-12" style="padding-top:10px" id="qtcl">
								<div class="col-sm-12"><label for="name">贷款其他资料</label></div>
									<div class="form-group" >
										<div class="checkbox checkbox-danger">
					                        <input id="qtcl1" type="checkbox" name="qt" class="styled" >
					                        <label for="qtcl1">
					                            	借款人及配偶身份证复印件
					                        </label>
					                    </div>
					                    <div class="checkbox checkbox-danger">
					                        <input id="qtcl2" type="checkbox" name="qt" class="styled" >
					                        <label for="qtcl2">
					                            	借款人及配偶户口簿
					                        </label>
					                    </div>
					                    <div class="checkbox checkbox-danger">
					                        <input id="qtcl3" type="checkbox" name="qt" class="styled" >
					                        <label for="qtcl3">
					                            	个人收入声明或证明资料（银行流水）（收入证明有效期40天内）
					                        </label>
					                    </div>
					                    <div class="checkbox checkbox-danger">
					                        <input id="qtcl4" type="checkbox" name="qt" class="styled" >
					                        <label for="qtcl4">
					                            	购房合同（含备案表）
					                        </label>
					                    </div>
					                    
									</div>
							 </div>
							  
							 <div class="col-sm-12" style="padding-top:10px;padding-bottom:10px" id="jkrcl">
								<div class="col-sm-12"><label for="name">其他补充内容：</label></div>
									<div class="form-group" >
										   <div class="col-sm-12">
										     <textarea  type="text" class="form-control" style="width:100%;height:50px" id="resubmit_opinion" placeholder="请输入其他补充内容！"></textarea>
										   </div>
									</div>
							 </div>
					 </form>
			     </div>
			     <div class="modal-footer text-center"  >
			          <button type="button" class="btn btn-white btn-sm" data-dismiss="modal"><i></i>&nbsp;取消</button>
			          <button type="button" class="btn btn-primary btn-sm" id="resubmitBtn" onclick="approve('RESUBMIT')"><i class="fa fa-check"></i>&nbsp;提交</button>
			     </div>
			 </div>
		</div>
	</div>
	<div class="modal fade inmodal" id="reviewModal" tabindex="-1" role="dialog" aria-hidden="true"  >
		<div class="modal-dialog" style="width: 800px;">
			<div class="modal-content animated bounceInRight">
			     <div class="modal-header nt-model-head">
			          <h5 id="action">审查意见</h5>	                                         
			     </div>
			     <div class="modal-body" style="height:320px;overflow-y:auto;">
		     		<form role="form" id="reviewForm">
     					
							<div class="col-sm-12" style="padding-top:10px" id="jydkRe">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="col-sm-6 control-label text-right" >申贷金额（万元）：</label>
										 <div class="col-sm-6">
											<input check="required" id="examineAmount" maxlength="13" />
										</div>
									</div>	
								</div>
								<div class="col-sm-6"  id="syryRe">
									<div class="form-group" >
										<label class="col-sm-6 control-label text-right" >申贷期限（月）：</label>
										 <div class="col-sm-6">
											<input check="required Number" id="examineTerm" maxlength="30" />
										</div>
									</div>	
								</div>
							</div>
							<div class="col-sm-12" style="padding-top:10px" id="jydkRe">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="col-sm-6 control-label text-right" >担保方式：</label>
										 <div class="col-sm-6">
											<select  id="examineGuaranteeMethod"  >
			                                                <option class="opt" value="0">--请选择--</option>
															<option class="opt" value="1">信用</option>
															<option class="opt" value="2">保证</option>
															<option class="opt" value="3">抵押</option>
															<option class="opt" value="4">质押</option>
										 	</select>
										</div>
									</div>	
								</div>
								<div class="col-sm-6"  id="syryRe">
									<div class="form-group" >
										<label class="col-sm-6 control-label text-right" >利率：</label>
										 <div class="col-sm-6">
											<input check="required" id="examineRate" maxlength="13" placeholder="请输入利率"/>
										</div>
									</div>	
								</div>
							</div>
							<div class="col-sm-12" style="padding-top:10px" id="jydkRe">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="col-sm-6 control-label text-right" >还款方式：</label>
										 <div class="col-sm-6">
											<select  id=examineRepaymentMethod >
			                                                <option class="opt" value="0">--请选择--</option>
															<option class="opt" value="1">等额本金</option>
															<option class="opt" value="2">等额本息</option>
															<option class="opt" value="3">循环用款</option>
															<option class="opt" value="4">到期还本</option>
															<option class="opt" value="5">分期还款</option>
										 	</select>
										</div>
									</div>	
								</div>
								
							</div>
					 </form>
			     </div>
			     <div class="modal-footer text-center" >
			          <button type="button" class="btn btn-white btn-sm" data-dismiss="modal"><i></i>&nbsp;取消</button>
			          <button type="button" class="btn btn-primary btn-sm" id="reviewBtn" onclick="approve('REVIEW')"><i class="fa fa-check"></i>&nbsp;提交</button>
			     </div>
			 </div>
		</div>
	</div>
  
	<script src="../UI/common/loadCommonJs.js"></script>

	<script src="./detailsLoanAppExamine.js"></script>
	
</body>
</html>
